package com.easidea.tim.test.service.inventory;

import org.junit.Test;

import com.easidea.tim.service.inventory.StorageTransformJob;
import com.easidea.tim.test.SpringIntegrationTestCase;

public class StorageTransformTestCase extends SpringIntegrationTestCase{

	private StorageTransformJob storageTransformJob;
	
	@Test
	public void testTransformStorage2DaliyHistory() {
		assertNotNull(storageTransformJob);
		try {
			storageTransformJob.transformStorage2DaliyHistory();
		} catch (Exception e) {
			fail(e.getMessage());
			e.printStackTrace();
		}
	}

	/**
	 * @return the storageTransformJob
	 */
	public StorageTransformJob getStorageTransformJob() {
		return storageTransformJob;
	}

	/**
	 * @param storageTransformJob the storageTransformJob to set
	 */
	public void setStorageTransformJob(StorageTransformJob storageTransformJob) {
		this.storageTransformJob = storageTransformJob;
	}

}
